<!-- 备注编辑弹窗 -->
<template>
  <ele-modal
    form
    :width="1300"
    :model-value="modelValue"
    title="选择企业"
    @update:modelValue="updateModelValue"
  >
    <company action="createJob" @done="chooseDone" />
  </ele-modal>
</template>

<script setup>
  import company from '@/views/company/list/index.vue';
  const props = defineProps({
    /** 弹窗是否打开 */
    modelValue: Boolean
  });
  const emit = defineEmits(['done', 'update:modelValue']);

  const chooseDone = (e) => {
    emit('done', e);
  };

  /** 更新modelValue */
  const updateModelValue = (value) => {
    emit('update:modelValue', value);
  };
</script>
